package com.smartleanx.module.hrm.dal.dataobject.examine.examineRecordRater;

import lombok.*;

import java.util.*;

import com.baomidou.mybatisplus.annotation.*;
import com.smartleanx.framework.mybatis.core.dataobject.BaseDO;

/**
 * 评分人关联 DO
 *
 * @author
 */
@TableName("hrm_examine_record_rater")
@KeySequence("hrm_examine_record_rater_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ExamineRecordRaterDO {

    /**
     * 评分人关联表
     */
    @TableId
    private Integer id;
    /**
     * 当前评分人 总评分分数
     */
    private Integer raterFraction;
    /**
     * 1评分已提交 2评分已审核 3考核人申诉待确认 4申诉驳回 5申诉确认 6评分已确认
     */
    private Integer raterStatus;
    /**
     * 申诉原因
     */
    private String appealReason;
    /**
     * 驳回原因
     */
    private String rejectReason;
    /**
     * 评语
     */
    private String raterComment;
    /**
     * 评分人顺序1第一个2 第二个
     */
    private Integer scorerOrder;
    /**
     * 评分人评分权重
     */
    private Integer raterWeight;
    /**
     * 评分等级id -1未定级
     */
    private Integer raterGradeId;
    /**
     * 考核记录id
     */
    private Integer examineId;


    private Integer recordId;

    private Integer raterEmployeeId;

    private String createTime;



    @TableField(exist = false)
    private String gradeName;

    @TableField(exist = false)
    private Integer fraction;


    @TableField(exist = false)
    private String examinePlanName;

    /**
     * 开始时间
     */
    @TableField(exist = false)
    private String cycleStartTime;
    /**
     * 结束时间
     */
    @TableField(exist = false)
    private String cycleEndTime;
    /**
     * 年日期
     */
    @TableField(exist = false)
    private String examineYear;
    /**
     * 月份
     */
    @TableField(exist = false)
    private String cycleTimeType;
    /**
     * 考核周期 1月度 2季度 3上半年 4下半年5全年 6其他
     */
    @TableField(exist = false)
    private Integer cycleType;

    @TableField(exist = false)
    private String employeeName;

    @TableField(exist = false)
    private Integer recordEmployeeId;

    @TableField(exist = false)
    private Integer loginId;
    @TableField(exist = false)
    private Integer resultOrderSource;

}